Crate utils_atomics

source ·

Re-exports

Modules

Structs

  • An atomic bitfield with a static size, stored in a boxed slice.
  • An atomic cell that can be safely shared between threads and can contain an optional value.
  • Lockalloc
    A synchronization primitive that can be used to coordinate threads.
  • LockSuballoc
    A helper type used for coordination with the Lock.
  • Inverse of a OnceCell. It initializes with a value, which then can be raced by other threads to take.
  • Error returned when a timeout ocurrs before the main operation completes.

Traits

Functions

  • lockalloc
    Acquires a Lock and its corresponding LockSub for coordinating access to a shared resource.